package edu.gyc.exceptionhomework;

class Mountain{
    private String name;
    private int height;

    public Mountain(String name, int height) {
        this.name = name;
        this.height = height;
    }

    @Override
    public String toString() {
        return "Mountain{" +
                "name='" + name + '\'' +
                ", height=" + height +
                '}';
    }
}

class MountainCompartor implements Comparable{

    @Override
    public int compareTo(Object o) {
        if (o instanceof Mountain) {

        }
        return 0;
    }
}

public class HiCompare {
}
